<{include file="public/header.html"}> 
	<header class="title title-border-sm bj-white">
            <a href="<{eval url('account')}>" class="icon-return iconfont title-left title-top col-red">&#xe604;</a>
            <h1 class="text-center name">安全中心</h1>
	</header>
        <a href="<{eval url('account/baseinfo')}>" class="p20 modify-head border-bottom-lg f-cb disblock">
            <img src="<{$user_info['head_img']}>" class="head-img fl mr10"/>
            <font class="iconfont fr mt15">&#xe630;</font>
            <div class="">
                    <p class="head-name"><{$user_info['nickname']}></p>
                    <p class="head-txt textnum15"><{$user_info['signature']}></p>
            </div>
	</a>
	<div class="security">
            <ul class="plr15">
                <li class="border-bottom-sm">
                    <a href="javascript:;" class="f-cb plr5">
                        <p class="fl">用&nbsp;&nbsp;户&nbsp;&nbsp;名</p>
                        <font class="iconfont fr ml5 col-greyccc"></font>
                        <i class="fr col-grey999"><{$user_info['username']}></i>
                    </a>
                </li>
                <li class="border-bottom-sm">
                    <a href="<{eval url('account/loginpass')}>" class="f-cb plr5">
                        <p class="fl">登录密码</p>
                        <font class="iconfont fr ml5 col-greyccc">&#xe630;</font>
                        <i class="fr col-grey999">修改</i>
                    </a>
                </li>
                <li class="border-bottom-sm">
                    <a href="<{eval url('account/paypass')}>" class="f-cb plr5">
                        <p class="fl">交易密码</p>
                        <font class="iconfont fr ml5 col-greyccc">&#xe630;</font>
                        <{if !$user_info['paypassword']}>
                        <i class="fr col-grey999">未设置</i>
                        <{else}>
                        <i class="fr col-grey999">修改</i>
                        <{/if}>
                    </a>
                </li>
                <li class="border-bottom-sm">
                    <a href="<{if $user_info['mobile']}><{eval url('account/checkmobile')}><{else}><{eval url('account/bindmobile')}><{/if}>" class="f-cb plr5">
                        <p class="fl">绑定手机</p>
                        <font class="iconfont fr ml5 col-greyccc">&#xe630;</font>
                        <{if !$user_info['mobile']}>
                        <i class="fr col-grey999">未设置</i>
                        <{else}>
                        <i class="fr col-grey999"><{$user_info['mobile']}></i>
                        <{/if}>
                    </a>
                </li>
                <li class="border-bottom-sm">
                    <a href="<{eval url('account/thirdbind')}>" class="f-cb plr5">
                        <p class="fl">第三方绑定</p>
                        <font class="iconfont fr ml5 col-greyccc">&#xe630;</font>
                        <i class="fr col-grey999">设置</i>
                    </a>
                </li>
            </ul>
            <div class="plr15 mt15"><button class="btn btn-yes mt10" onclick="logout(this);" data-ref="<{eval url('account/logout')}>">安全退出</button></div>
	</div>
<script type='text/javascript'>
    function logout(obj){
        var _href = $(obj).attr("data-ref");
        layer.open({
            content: '安全退出帐户',btn: ['安全退出', '取消'],skin: 'footer',yes: function(index){
                layer.close(index);
                window.location.href=_href;
            }
        });
    }
</script>
<{include file="public/footer.html"}> 
